<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
		<meta http-equiv="content-script-type" content="text/javascript" />
		<script src="js/AIRAliases.js" type="text/javascript"></script>
		<script src="js/jquery.js" type="text/javascript"></script>
		<script src="js/engine.js" type="text/javascript"></script>
		<script src="js/plugins/tabs.js" type="text/javascript"></script>
		<script src="js/plugins/treeview.js" type="text/javascript"></script>
		<script src="js/debug/firebug.js" type="text/javascript"></script>
		<script src="js/packer/pack.js" type="text/javascript"></script>
		<script src="js/packer/ParseMaster.js" type="text/javascript"></script>
		
		
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
		<title>Jamal Builder</title>
	</head>
	<body onload="doLoad()">
		<h1></h1>
		<img src="img/jamal_logo_green.png" /> 
		<div id="container">
            <ul>
                <li><a href="#jamalbuilder"><span>Build</span></a></li>
				<li><a href="#help"><span>Help</span></a></li>
                <!-- <li><a href="#write"><span>Write</span></a></li> -->
          
            </ul>	
			
            <!-- building section -->
			<div id="jamalbuilder">
				<div id="error_msg"></div>				
				<h2>1.Select your jamal root folder:</h2>
				<p>Use the Browse Button or drag folder onto this window.</p>						
				 <div id="fileIncoming"></div>
				 <div id="fileList"></div>
				 
				<input id="btnBrowse" type="button" value="Browse" />
				<h2>2. Compile Jamal Core:</h2>
				
				<input id="btnStartBuildProcess" type="button" value="Write packed version" />
				<div id="success"></div>
			</div>
			<div id="help">
				<h2>Conventions</h2>
				<ul>
					<li><p>
						Javascript Folders should be organized the following way. 
						</p>
						<p>
							- /my_jamal_only_js_folder/ <small>-> this is the folder you are choosing</small><br/>
						 	-- jamal/           <small>-> Jamal Core Framework</small> <br/>
							--- components 		<small>-> core wide components </small><br/>
		  					--- libs 			<small>-> core libs </small><br/>
		  			        --- plugins 		<small>-> jQuery plugins </small><br/><br/>
							-- app/			    <small>-> your application specific code</small><br/>
		   					--- models 		    <small>-> you models</small><br/>
		   					--- controllers     <small>-> your controllers</small><br/>
		   					--- views		    <small>-> your views</small>
						</p>
					</li>
					<li>
						All Javascripts found will be taken into the build file						
					</li>
					<li>
						Build files are written into the main parent folder 						
					</li>
					<li>
						Two files are generated:<br />
						- jamal_debug.js -><small>concatenated files uncompressed</small><br/>
						- jamal_packed.js -><small>compressed version</small>		
					</li>
				</ul>
				
				<h2>Known Issues</h2>
				<ul>
					<li>
						Alpha Version only compresses Contents of jamal subfolder aka. the core Framework.						
					</li>
					<li>
						There is no error check for missing core files right now.					
					</li>
					<li>
						JamalBuilder is not build with jamal :-( 					
					</li>
				</ul>
				<h2>Ideas / ToDo</h2>
				<ul>
					<li>
						Build App Code						
					</li>
					<li>
						Save Project Settings					
					</li>
					<li>
						Errors for missing files					
					</li>
				</ul>
				
			</div>
		</div>

	</body>
</html>